package pl.edu.pw.ee.buildcity.scm.subversion;

import pl.edu.pw.ee.buildcity.entities.SCMCommit;
import pl.edu.pw.ee.buildcity.scm.SCMException;

import java.io.File;
import java.util.List;

/**
 * @author mgrzechocinski
 * @since 2009-09-19
 */
public interface SubversionService {

	public abstract File checkout(SVNCheckoutParameters parameters, String workingCopyLocation) throws SCMException;

	public abstract List<SCMCommit> getLogBetweenHEADAndWorkingCopyRevision(File workingCopy) throws SCMException;

	public abstract boolean changeDetected(File workingCopy) throws SCMException;

	public abstract void updateToHEAD(File workingCopy) throws SCMException;
}